home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / September 96 / How to adjust subviews?.1 < prev    next >
Encoding:
Internet Message Format  |  1996-09-19  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     How to adjust subviews?
  2. Sent:        9/12/96 1:04 PM
  3. Received:    9/12/96 1:04 PM
  4. From:        bobc@bcstec.ca.boeing.com (Bob Carpenter)
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List
  7.  
  8.  
  9.  
  10.   This is my third attempt to send this message to the list,
  11.   so please excuse me if this is redundant.
  12.   
  13.   I've created a part from the Hello template,
  14.   and then decided I'd like to have subview capability. So, I cloned
  15.   the View class from ODFForm as well as ODFormFrame's CreateSubViews and
  16.   FrameShapeChanged methods. It's working a bit now, but minus any scrollbars.
  17.   Well, the scrollbars do show up if I drop the part in a container, but not
  18.   when I launch it from stationery.
  19.  
  20.   And also -  this is the main problem - the view of the content seems anchored
  21.   to the growbox; so that the text content goes out of view if you drag the
  22.   frame large enough. When you drag it smaller it comes back into view.
  23.   
  24.   Any ideas on how to fix this up?  I can email my editor if my description
  25.   above doesn't make sense.
  26.   
  27.   Thanks.
  28.  
  29. -- 
  30.  
  31. --BobC
  32.  
  33.   Bob Carpenter
  34.   Boeing Commercial Airplanes
  35.   bob.carpenter@boeing.com